<?php $id = $this->uri->segment(3)?>
<?php echo form_open('administrador/editarUsuario/'.$this->uri->segment(3));?>
	<p>Nome</p>
	<?php echo form_input('name', $usuario->name);?>
	<p>Senha</p>
	<?php echo form_input('password', $usuario->password);?>
	<p>Email</p>
	<?php echo form_input('email', $usuario->email);?>
	<p>Time Zone</p>
	<?php echo form_input('timezone_id', $usuario->timezone_id);?>
	<p>Dst Offset</p>
	<?php echo form_input('dst_offset', $usuario->dst_offset);?>
	<?php foreach ($perfis as $perfil) : ?>
		<div class="perfil">
			<?php echo $perfil->name; ?>
			<?php echo $perfil->description; ?>
			<?php echo form_checkbox('perfis[]', $perfil->id, $perfil->checked); ?>
		</div>
	<?php endforeach; ?>
	<?php echo form_submit('', 'Confirmar');?>
<?php echo form_close()?>
